<template>
    <div class="zz-404">
        <div class="zz-404-overlay" />
        <div class="zz-404-content">
            <div class="zz-404-font">404</div>
            <p>.....</p>
        </div>
    </div>
</template>

<script>
export default {
    name: "NotFound",
};
</script>

<style lang="less" scoped>
.zz-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #ffffff;
    background-size: cover;
    flex-direction: column;
    // background-image: url("@images/404.png");
    .zz-404-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(0 0 0 / 60%);
    }
    .zz-404-content {
        animation: fadeinfof 1s forwards;
        z-index: 10;
    }
    .zz-404-font {
        font-size: 80px;
    }
    p {
        margin-bottom: 48px;
        font-size: 28px;
        letter-spacing: 4px;
    }
    button {
        padding: 8px 16px;
        font-size: 18px;
        border: 1px solid #ffffff;
        border-radius: 5px;
        background: transparent;
        transition: all 0.3s;
        &::before {
            display: inline-block;
            margin-right: 16px;
            font-family: iconfont;
            content: "\e639";
        }
        &:hover {
            border: none;
            color: #e14eca;
            transform: translateX(-5px);
        }
    }
}

@keyframes fadeinfof {
    from {
        opacity: 0.8;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
</style>
